<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>
<title>我的登录页面</title>
<meta charset="utf-8" />
<script type="text/javascript">
 	function refreshCode() {
		// $("#imageCode").attr("src","${base}/code/image?param="+new Date())
		//取出tr元素对象 
		var element = document.getElementById("imageCode");
		element.src = "${base}/code/image?param=" + new Date();
	} 
</script>
</head>


<body>
	<h1>我的登录页面</h1>


	<form action="${base}/authentication/form" method="post">
		<label for="username">Username</label>: <input type="text"id="username" name="username" autofocus="autofocus" /> <br />
		<label for="password">Password</label>: <input type="password" id="password" name="password" /> <br /> 

		 <input type="submit" value="Log in" />
	</form>
	<p>
		<a href="/index">Back to home page</a>
	</p>
</body>
</html>
